-- GENERATED SPELL FOR [Corpulent Horror] --


function spell0_30696(pUnit, Event) --@Scourge Hook,n/a--
pUnit:FullCastSpellOnTarget(50335,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30696', 1000, 1)
end

function Sorts_30696(pUnit, Event)
local choix_sorts_30696 = math.random(0, 0)
if choix_sorts_30696 == 0 then
pUnit:RegisterEvent('spell0_30696', 1, 1)
end
end

function mob30696_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30696', math.random(1500, 3000), 1)
end

function mob30696_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30696_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30696_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30696, 1, 'mob30696_Action')
RegisterUnitEvent(30696, 2, 'mob30696_Leave')
RegisterUnitEvent(30696, 3, 'mob30696_Kill')
RegisterUnitEvent(30696, 4, 'mob30696_Die')
